Item 7 : why not specialize function templates 條款7 :為什么不特化函數(shù)模板?
A function template is like an extension to a user - defined function 函數(shù)模板就像是用戶定義函數(shù)的一個(gè)擴(kuò)展。
For the create function statement extension for function templates , refer to the 要了解函數(shù)模板的create function語(yǔ)句擴(kuò)展,請(qǐng)參閱
Shows the issues to consider in determining when a function template needs to be registered 展示了在決定何時(shí)需要注冊(cè)函數(shù)模板時(shí)所考慮的問題。
When a query references a function template , the query optimizer tries to generate a feasible plan that allows this function reference to be evaluated on the remote data source 當(dāng)一個(gè)查詢引用一個(gè)函數(shù)模板時(shí),查詢優(yōu)化器嘗試生成一個(gè)靈活的計(jì)劃,允許在遠(yuǎn)程數(shù)據(jù)源上計(jì)算這個(gè)函數(shù)引用。